package com.vip.sys.modular.department.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author ASUS
 * @Date 2025/4/10 12:09
 * @Descripition
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "部门信息")
public class DepartmentVo{
    @Schema(description = "主键id")
    private String id;
    @Schema(description = "主键id")
    private String key;
    @Schema(description = "部门名称")
    private String title;
    @Schema(description = "部门编码")
    private String code;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "父级id")
    private String parentId;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "子部门")
    private List<DepartmentVo> children;
}
